package com.itjiange;

/**
 * cpu
 *
 * @author ItJianGe
 * @data 2024/8/27 10:09
 */
public class Cpu implements ComputerCompose {

    @Override
    public int price() {
        return 1100;
    }

    @Override
    public String desc() {
        return "AMD R5-9600X CPU。。。";
    }

    @Override
    public void accept(Visitor visitor) {
        visitor.visitorCpu(this);
    }

}
